#include "Heap.h"

int main()
{
	int a[] = { 70,56,30,25,15,10 };
	HP hp;
	HeapInit(& hp);
	int i = 0;
	for (i = 0; i < sizeof(a) / sizeof(a[0]); ++i)
	{
		HeapPush(&hp, a[i]);
	}
	HeapPush(&hp, 75);
	HeapPush(&hp, 80);
	HeapPush(&hp, 20);
	for (i = 0; i < sizeof(a) / sizeof(a[0])+3; ++i)
	{
		printf("%d ", hp.a[i]);
	}
	printf("\n");
	
	return 0;
}